# -*- coding: utf-8 -*-

from app.module.admin import admin
from flask import render_template, session
from app.module.admin.middleware import check_login


@admin.route('/')
@check_login
def index():
    return render_template('admin/index/index.html', member_real_name=session['real_name'])


@admin.route('/home')
@check_login
def home():
    print(session)
    return render_template('admin/index/home.html')
